package com.web;

import com.service.Problem_lfyService;
import com.util.ResultEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/problem")
public class Problem_lfyController {
    @Autowired
    private Problem_lfyService pService;
    @RequestMapping("/all")
    public ResultEntity selectAll(){
        return ResultEntity.ok(pService.selectAll());
    }
}
